<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!-- saved from url=(0142)http://gate.ri.gl/Pages/QR/Index.aspx?content=AEEB2F6BF219FC4E88169FF39E641165260A5638E72CD708756F6B215963333A7B82E32A62328AC39E11DA173407F2F7 -->
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>扫码支付订单</title>
        <meta name="renderer" content="webkit">
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
        <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
        <link href="__PUBLIC__/Public/css/pay/css/layui.css" rel="stylesheet" type="text/css">
        <script src="__PUBLIC__/Public/css/pay/js/jquery-1.9.1.min.js" type="text/javascript"></script>
        <script type="text/javascript">
            var times = 1;
            function clock() {
                var result = "error";
                $.ajax({
                    type: 'get',
                    contentType: "application/json",
                    url: "",
                    success: function (data) {
                        checkResult(data);
                    }
                });
            }
            function checkResult(data) {
                data = JSON.parse(data);
                if (data['result'] == "OK") {
                    setTimeout("jumpUrl();", 1);
                }
                else {
                    //执行定时请求
                    if (times < 50) {
                        setTimeout("clock();", 1200);
                        times++;
                    } 
                }
            }
            function jumpUrl() {
                document.location.href = ""; //跳转订单成功页面
            }
            $(document).ready(function () {
                setTimeout("clock();", 5000);
            });
        </script>
    </head>
    <body youdao="bind" style="background-color: rgb(204, 232, 207);">
        <div class="layui-container">	
    		<blockquote class="layui-elem-quote" style="margin-top: 10px;">
                <i class="layui-icon">ဂ</i>
                <b>请您尽快付款，以便订单及时处理！ </b>
            </blockquote>				
            <form method="post" action="" id="form1" class="layui-form layui-form-pane">
                <div class="aspNetHidden">
                    <input type="hidden" name="" id="__VIEWSTATE" value="">
                </div>

                <div class="aspNetHidden">

    	           <input type="hidden" name="" id="__EVENTVALIDATION" value="">
                </div>
    			<div class="layui-form-item">
    				<label class="layui-form-label" style="background-color: rgb(204, 232, 207);">订单号</label>
    				<div class="layui-input-block">
                        <input name="txtOrderID" type="text" value="1211401201806161414288993" readonly="readonly" id="txtOrderID" class="layui-input" style="background-color: rgb(204, 232, 207);">
    				</div>
    			</div>
    			<div class="layui-form-item">
    				<label class="layui-form-label" style="background-color: rgb(204, 232, 207);">支付金额</label>
    				<div class="layui-input-block">
                        <input name="txtAmt" type="text" value="1.00元" readonly="readonly" id="txtAmt" class="layui-input" style="color: rgb(255, 87, 34); font-weight: bold; background-color: rgb(204, 232, 207);">
    				</div>
    			</div>
    			<div class="layui-form-item">
    				<label class="layui-form-label" style="background-color: rgb(204, 232, 207);">下单时间</label>
    				<div class="layui-input-block">
                        <input name="txtOrderTime" type="text" value="2018-06-16 14:14:28" readonly="readonly" id="txtOrderTime" class="layui-input" style="background-color: rgb(204, 232, 207);">
    				</div>
    			</div>
    			<div class="layui-form-item">
    				<label class="layui-form-label" style="background-color: rgb(204, 232, 207);">支付类型</label>
    				<div class="layui-input-block">
                        <input name="txtPayType" type="text" value="支付宝扫码" readonly="readonly" id="txtPayType" class="layui-input" style="color: rgb(255, 87, 34); font-weight: bold; background-color: rgb(204, 232, 207);">
    				</div>
    			</div>
    			<div class="layui-form-item" style="margin-top: 30px; text-align:center">
                    <img id="imgQRCode" src="" style="border-width:0px; margin-top:20px; width:245px;height:245px;">
    				<br>
    				请<span style="color:#009688;font-weight: bold;">扫描二维码</span>支付
    			</div>
    			<div class="layui-form-item" style="margin-top: 30px; text-align:center">
    				<span>请您在提交订单后<span style="color: #FF5722; font-weight: bold;">5分钟</span>内完成支付，否则订单会自动取消。</span>
    			</div>
            </form>
        </div>	
    </body>
</html>